<include file="../Public/header" />
<script type="text/javascript">
jQuery(function(){
	jQuery("#form_register").valid([
        { name:"suser_name",type:"username",simple:"域名",min:5,max:20},
		{ name:"suser_password",type:"password",simple:"密码",min:5,max:20},
		{ name:"suser_passwordconform",type:"eq",simple:"重复密码", to:"suser_password"},
		{ name:"verify",type:"number",simple:"验证码"},
	]);
})
function fleshVerify(type){ 
	//重载验证码
	var timenow = new Date().getTime();
	document.getElementById('verifyImg')
	jQuery("#verifyImg").attr("src", '__URL__/verify/'+timenow);
}
</script>
</head>

<body>
<div id="body">
    <div id="reg_main">
    <form method="post" id="form_register" name="form_register" action="__URL__/regedit" >
        <div id="logotitle">
            <div class="logo"><img src="__PUBLIC__/Images/logo.png"/></div>
            <div class="title">
                <div>登录域名注册中心</div>
                <div>Log domain registration center</div>
            </div>
        </div>
        <div id="formmain">
            <ul>
                <li class="errmsg" style="<notpresent name="errmsg">display:none;</notpresent>">{$errmsg}</li>
                <li style="font-size:16px;letter-spacing:5px;">My<span style="font-weight:800">.</span><input type="text" name="suser_name" id="suser_name" value="{$username}" /><span>.ee</span></li>
                <li>密录:<input type="password" name="suser_password" id="suser_password" /></li>
                <li class="alt">Secret recording</li>
                <li >重复密录:<input type="password" name="suser_passwordconform" id="suser_passwordconform" /></li>
                <li class="alt">Repeat the secret recording</li>
                <li>验证码:<input style="width:100px;" type="text" name="verify" /></li>
                <li class="alt">Verification code</li>
                <li>验证图片:<img id="verifyImg" src="__APP__/Register/verify" /><a style="font-size:12px;" href="javascript:fleshVerify();">看不起清楚，换张图片</a></li>
                <li class="alt">Image verification  Not clear, change another one</li>
            </ul>
        </div>
        <div style="height:20px;margin:10px 0;">
        <input class="reg_submit" type="submit" value="确定Determine"/><input class="reg_cancel" type="reset" value="取消Cancel"/>
        </div>
    </form>
   </div>
</div>
<include file="../Public/foot" />
